pub fn new_count_distinct(input_str: &str) -> usize {
    let words: Vec<&str> = input_str.split(',').collect();
    let mut distinct_words = std::collections::HashSet::new();
    for word in words {
        distinct_words.insert(word);
    }
    distinct_words.len()
}
